package dome2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 王圆豪
 * Date: 2024-05-22
 * Time: 21:47
 */
public class Rot extends Shape{
    //public double r;

    public Rot(/*double r, */double area, double cir) {
        super(area, cir);
//        this.r = r;
    }

    @Override
    public void draw() {
        System.out.println("画一个面积为 " + this.area +" 周长为 "+ this.cir+ "的圆...");
    }
}
